import request from '@/utils/request'

// 统计本日发货量和单数
export function queryTotalNumAndOrderNumByDate(query) {
  return request({
    url: '/transport/screen/queryTotalNumAndOrderNumByDate',
    method: 'get',
    params: query
  })
}

// 统计本月计划发货单数、实际发货量和未发货量
export function queryLoadBoxNumAndOrderNumByDate(query) {
  return request({
    url: '/transport/screen/queryLoadBoxNumAndOrderNumByDate',
    method: 'get',
    params: query
  })
}

// 统计本日各省的发货量、签收量排名
export function queryProvinceTotalNumByDay(query) {
  return request({
    url: '/transport/screen/queryProvinceTotalNumByDay',
    method: 'get',
    params: query
  })
}

// 统计某一年的每月发货量
export function queryLoadBoxNumByYear(query) {
  return request({
    url: '/transport/screen/queryLoadBoxNumByYear',
    method: 'get',
    params: query
  })
}

// 统计某一月的每天的提前到货率
export function queryEarlyArrivalRateByMonth(query) {
  return request({
    url: '/transport/screen/queryEarlyArrivalRateByMonth',
    method: 'get',
    params: query
  })
}

// 统计某一月的每天的准时到货率
export function queryTimelyArrivalRateByMonth(query) {
  return request({
    url: '/transport/screen/queryTimelyArrivalRateByMonth',
    method: 'get',
    params: query
  })
}

// 统计某一月的每天的按时提货率
export function queryTimelyLoadRateByMonth(query) {
  return request({
    url: '/transport/screen/queryTimelyLoadRateByMonth',
    method: 'get',
    params: query
  })
}

// 统计某一月的每天的配送完好率
export function queryIntactRateByMonth(query) {
  return request({
    url: '/transport/screen/queryIntactRateByMonth',
    method: 'get',
    params: query
  })
}

// 统计每年及当月各个销售渠道的发货量
export function queryLoadBoxNumByDistributionChannel(query) {
  return request({
    url: '/transport/screen/queryLoadBoxNumByDistributionChannel',
    method: 'get',
    params: query
  })
}

export function queryMapProvinceByDay(query) {
  return request({
    url: '/transport/screen/queryMapProvinceByDay',
    method: 'get',
    params: query
  })
}

export function queryNewScreen(query) {
  return request({
    url: '/transport/screen/queryNewScreen',
    method: 'get',
    params: query
  })
}

export function queryNewScreenDc() {
  return request({
    url: '/transport/screen/queryNewScreenDc',
    method: 'get',
  })
}

export function queryTotalNewScreenDc() {
  return request({
    url: '/transport/screen/queryTotalNewScreenDc',
    method: 'get',
  })
}